home *** CD-ROM | disk | FTP | other *** search
- /*
- ### Close the pipe and let the notifier know if the child process dies ###
- */
-
- #include <suntool/sunview.h>
- #include <suntool/panel.h>
- #include <sunwindow/notify.h>
-
- Notify_value auto_dead_child(item,pid,status,rusage)
- Panel_item item;
- int pid;
- union wait *status;
- struct rusage *rusage;
- {
- extern int auto_fromchild;
- (void) notify_set_input_func(item,NOTIFY_FUNC_NULL,auto_fromchild);
- close(auto_fromchild);
- return(NOTIFY_DONE);
- }
-